package com.yanqu.road.server.manger.assistant.handler;

import com.yanqu.road.pb.assistant.AssistantProto;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.manger.assistant.AssistantMgr;
import com.yanqu.road.server.manger.assistant.CrossActionHandler;

/**
 * 小助手本服处理
 * @author hgd
 */
public class ServerActionHandler extends CrossActionHandler {

    public ServerActionHandler() {
        this.success = false;
    }

    @Override
    protected void action(GamePlayer player, AssistantProto.AssistantActionReqMsg.Builder reqMsg, AssistantProto.AssistantActionRespMsg.Builder respMsg) {
        // 最终操作-本服处理
        AssistantMgr.action(player, reqMsg, respMsg);
    }

    @Override
    protected void nextHandler(GamePlayer player, AssistantProto.AssistantActionReqMsg.Builder reqMsg, AssistantProto.AssistantActionRespMsg.Builder respMsg) {

    }
}
